var express = require('express');
var router = express.Router();
const { getAllexercises, getOneTitle } = require('../controlers/exericisesControler');
// 获取所有题目
router.get('/',getAllexercises);
// 获取一个题
router.post('/:_id',getOneTitle);

module.exports = router;